package com.imyours.net.exception;

/**
 * 包含错误代码的异常
 * 
 * @author SLevenc
 * 
 */
public class ErrorCodeException extends Exception {
	/**
	 * 错误编号
	 */
	private int errorCode;

	public ErrorCodeException(int code) {
		this.errorCode = code;
	}

	public int getErrorCode() {
		return errorCode;
	}

}
